@import url('https://fonts.googleapis.com/css?family=PT+Serif:300,400,400i,700');
@import url('normalize.css');

* {
    box-sizing: border-box;
}

html,
body {
    background: #FFFFF8;
    color: #000000;
}

body {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    font-size: 14px;
    font-family: 'PT Serif', serif;
}

ol, ul {
    list-style: square inside url('');
    margin-top: 5px;
    padding-left: 2em;
}

p {
    margin-top: 0;
}

img {
    max-width: 100%;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: underline;
}

tt {
    display: inline;
    background: rgba(0,0,0,0.1);
    font-family: monospace;
    font-size: 90%;
}

pre {
    display: block;
    background: rgba(0,0,0,0.1);
    font-family: monospace;
    font-size: 90%;
    padding: 5px;
    margin: 5px 0;
    width: 100%;
    overflow-x: auto;
}

.nav {
    padding: 10px 0;
    border-bottom: 1px dashed #666666;
}

.nav .brand {
    display: inline-block;
    vertical-align: bottom;
    margin: 10px 0;
}

.nav .brand .name {
    display: block;
    font-size: 28px;
}

.nav .brand .description {
    display: block;
    font-size: 14px;
}

.nav .buttons {
    display: inline-block;
    vertical-align: bottom;
    float: right;
    font-size: 14px;
    margin-top: 25px;
}

.nav .buttons #other-platforms {
    display: block;
    font-size: 12px;
    text-align: right;
    margin-right: 10px;
}

.nav .buttons .button {
    margin: 2px 10px;
}

.clearfix {
    clear: both;
}

.button,
.button:link {
    display: inline-block;
    padding: 3px 5px;
    margin: 2px 0;
    border: 1px solid #888888;
    color: inherit;
    text-decoration: none;
    outline: 0;
    text-align: center;
}

.button:hover {
    border: 1px solid #000000;
}

.button:active {
    background: #EEEEEE;
}

.button.primary {
    border: 1px solid #004000;
    background: #008000;
    color: #FFFFFF;
}

.button.primary:hover {
    border: 1px solid #004000;
    background: #007000;
}

.button.primary:active {
    background: #007000;
}

.buttons .links {
    display: block;
    margin: 10px 0;
    font-size: 12px;
}

.buttons .links a {
    display: inline-block;
    margin: 0 3px;
    color: #444444;
}

.about {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 40px 0;
}

.about .screenshot {
    max-width: 100%;
    flex: 1;
}

.about .text {
    padding-right: 30px;
    flex: 1;
}

.section {
    margin-top: 20px;
}

.section .name {
    border-bottom: 1px dashed #888888;
    margin-bottom: 5px;
    font-size: 22px;
}

.section .text {
    line-height: 2;
}

.footer {
    text-align: center;
}

@media only screen and (max-width: 700px) {
    .nav {
        border-bottom: none;
    }

    .nav .buttons,
    .nav .brand,
    .nav #other-platforms {
        display: block;
        text-align: center;
        float: none;
    }

    .nav .buttons {
        margin-top: 15px;
    }

    .about {
        margin: 20px 0;
        display: block;
    }
    
    .about .screenshot {
        max-width: 350px;
        margin: 0 auto;
    }

    .about .text {
        margin-top: 20px;
        margin-bottom: 20px;
        padding-left: 20px;
    }
}